//
//  VerifyPhoneViewController.m
//  GLGW_Shoping
//
//  Created by whx on 2018/12/7.
//  Copyright © 2018年 yang. All rights reserved.
//

#import "VerifyPhoneViewController.h"
#import "VerifyPhoneViewModel.h"
#import "BankCardsViewController.h"

@interface VerifyPhoneViewController ()

@property (nonatomic, strong)VerifyPhoneViewModel *viewModel;

@end

@implementation VerifyPhoneViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"验证手机";
    self.viewModel = [[VerifyPhoneViewModel alloc] initWithSuperView:self.view];
    kWeakSelf(self);
    self.viewModel.BlockApplyWithDrawl = ^(GLGWButton *btn) {
        [weakself applyWithDral:btn];
    };
}

- (void)applyWithDral:(GLGWButton *)sender
{
    BankCardsViewController *vc = [BankCardsViewController new];
    [self.navigationController pushViewController:vc animated:YES];
}

@end
